package com.lmf.service;


import com.lmf.config.IndexTwoServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "colony-test-2",fallback = IndexTwoServiceHystrix.class)
public interface IndexTwoService {

    @GetMapping("/hello/{name}")
    String testTurbe(@PathVariable(value = "name")String username);
}
